From: Paul Eggert Date: Wed, 6 Jul 2011 21:56:44 +0000 (-0700) Subject: Merge: Remove unportable assumption about struct layout (Bug#8884). X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~3045 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=12d79fb3ee1e5280e4da759aa5dba4ead2334686;p=emacs.git Merge: Remove unportable assumption about struct layout (Bug#8884). * buffer.c (clone_per_buffer_values): Don't assume that sizeof (struct buffer) is a multiple of sizeof (Lisp_Object). This isn't true in general, and it's particularly not true if Emacs is configured with --with-wide-int. * buffer.h (FIRST_FIELD_PER_BUFFER, LAST_FIELD_PER_BUFFER): New macros, used in the buffer.c change. --- 12d79fb3ee1e5280e4da759aa5dba4ead2334686